home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
cnet
/
MS_Credits_62.lha
/
+Pleech.doc
< prev
next >
Wrap
Text File
|
1993-06-12
|
3KB
|
70 lines
Pleech v3.0
-------------
**** NOW ALLOWS USE OF PFILE POINTS AS AN OPTION ****
WRITTEN by: Ray Akey
A Pfile Accounting Module for C-Net Amiga ** v2.77+ **
Curbs Pfile leeching by charging UDBytes OR Pfile (DOOR) Points for each play
The Metal Shoppe BBS
1200-2400 baud (519) 255-7378
2400-38400 baud (519) 256-0278
INSTALLATION:
1. Copy Pleech to your PFILES: directory.
2. Copy pfiles.credits to your SYSDATA: directory
3. Edit the file "pfiles.credits" and place a 0 in the first line to use
UDBytes, 1 to use Pfile (Door)Points.
4. Installation of this Pfile requires these very SIMPLE modifications to
your AREXX pfiles. Add the following text to all pfiles which you want
to charge credits for. Be sure to add it immediately below the line
near the beginning of the pfile which reads "options results" like so:
options results <<-- already in the pfile
transmit "\#2pfiles:pleech\"
if exists("ram:prohibit.pfile") then do
call open isallowed,"ram:prohibit.pfile",'R'
allowit = readln(isallowed)
call close isallowed
transmit "\$0c:delete ram:prohibit.pfile\"
if allowit = 1 then do;bufferflush;exit;end --
**THE REST OF THE PFILE CONTINUES HERE** <<--- do not add this line
3. The above addition will:
a) See if the user has enough credits to play the pfile.
b) subtract the number of credits specified in the
configuration file (default value of 50 bytes built in).
c) check the prohibit file in RAM to see if the use has used
up all his UDBytes and exit the pfile if true.
4. If the configuration file "system:pfiles.credits" is not found, the
program will use a default value of 50 bytes to subtract from the
user's account. This file can be edited with any text editor and the
only line in the file is the number of credits (bytes) to subtract
from the user's account. A value of 1000 will result in 1Kbyte being
subtracted from his account.
That's all there is to it. There is no way of implementing this Mod
into a C pfile but future C-pfiles I write will include an internal routine
that will accomplish the same thing as well as having a sysop congigurable
value for each one so that different values can be charged for each Pfile
played.
If you have any comments or wish to receive a disk with the latest C-Net
Amiga pfiles and modification pfiles I have written, including updates of old
ones, send $20.00 to:
Ray Akey
411 Bridge St.
Windsor, Ontario
CANADA
N9B 2M3
------------------------------------------------------------------------------
You flutter behind you your possible pasts, some bright eyed and crazy,
some frightened and lost -- Roger Waters circa 1983
------------------------------------------------------------------------------